package itsm.isperp.module.entity.change;

import itsm.isperp.framework.domain.BaseBean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2014-7-21
 * @since 1.0
 * 
 */

@Entity
@Table(name = "chg_element_relation")
public class ChgElementRelation extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	//
	@Column
	protected String fromId;

	//
	@Column
	protected String toId;

	@Column
	protected String fromType;

	@Column
	protected String toType;
	
	@Column
	protected String name;

	public String getFromId() {
		return fromId;
	}

	public void setFromId(String fromId) {
		this.fromId = fromId;
	}

	public String getToId() {
		return toId;
	}

	public void setToId(String toId) {
		this.toId = toId;
	}

	public String getFromType() {
		return fromType;
	}

	public void setFromType(String fromType) {
		this.fromType = fromType;
	}

	public String getToType() {
		return toType;
	}

	public void setToType(String toType) {
		this.toType = toType;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
